 <?php
 $protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https://' : 'http://';
 $domain = $_SERVER['HTTP_HOST'];
 $current_url = $protocol . $domain;
 $to = "$current_url/admin";
     $cookie = $_COOKIE["login"];
    if($cookie != "true") {
        header("Location:$to");
        exit();
		    }
?>


<!doctype html>
<html> 
    <head> 
        <meta charset="utf-8"> 
        <meta name="viewport" content="width=device-width, initial-scale=1"> 
        <title>卷密WindCloud-用户管理</title> 
        <link href="./style.css" type="text/css" rel="stylesheet"> 
    </head> 
    <body> 
    </body>
    <h1>
   </h1>
</html>
